package com.jianglin.state2.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("message")
public class Message {
    @ApiModelProperty(value = "信息编号")
    @TableId(value = "messageId",type = IdType.AUTO)
    private Integer messageId;

    @TableField(value = "messageInfo")
    private String messageInfo;

    @TableField(value = "messageDate")
    private Date messageDate;

}